package com.zx.oa.utils.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import java.util.Date;

@ContentRowHeight(30) //行高
@HeadRowHeight(40) //头部行高
public class ResultExcel {
        @ColumnWidth(20)
        @ExcelProperty(value = "学号",index = 0)
        private int id;  //学生id
        @ColumnWidth(20)
        @ExcelProperty(value = "姓名",index = 1)
        private String stuName; //名字
        @ColumnWidth(20)
        @ExcelProperty(value = "考试日期",index = 2)
        private Date examDate; //
        @ColumnWidth(20)
        @ExcelProperty(value = "考试类型",index = 3)
        private String examType; //考试类型
        @ColumnWidth(20)
        @ExcelProperty(value = "成绩",index = 4)
        private String stuResult; //成绩


}
